import Vue from 'vue'
import App from './App'

/* 导入colorui自定义组件 */
import cuCustom from './colorui/components/cu-custom.vue'
Vue.component('cu-custom', cuCustom)

Vue.config.productionTip = false
Vue.prototype.serverUrl = 'http://localhost:9091'

Vue.prototype.getLoginUser = function(key) {
    var user = uni.getStorageSync('loginUser');
    if (user != null && user != '' && user != undefined) {
        return user;
    }
    return null;
}

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
